Title Banner

Previous Book Contents Book Index Next

Inside Macintosh: Cyberdog Programmer's Kit / Part 3 - Cyberdog Reference
Chapter 7 - Classes and Methods / CyberStream


IsTotalDataSizeAvailable

Tests whether the total size of this Cyberdog stream is available.

ODBoolean IsTotalDataSizeAvailable ();
return value
kODTrue if the total data size is available; otherwise, kODFalse.
DISCUSSION
You call this method to determine whether the total number of bytes to be downloaded by a stream object is available. If the total size is available, you can retrieve it by calling the GetTotalDataSize method. If GetTotalDataSize returns kCDTotalDataSizeUnknowable, you do not need to continue to poll IsTotalDataSizeAvailable.

If you subclass CyberStream, you must override this method. Your override method must not call its inherited method; that is, your override method must implement this method's functionality completely.

SEE ALSO
The GetTotalDataSize method (page 386).


Previous Book Contents Book Index Next

© Apple Computer, Inc.
13 JUL 1996




Navigation graphic, see text links

Main | Top of Section | What's New | Apple Computer, Inc. | Find It | Feedback | Help